# Maintainer:
pkgname=py3-exifread
_pkgname=ExifRead
pkgver=3.0.0
pkgrel=1
pkgdesc="Read Exif metadata from tiff and jpeg files"
options="!check" # No testsuite
url="https://github.com/ianare/exif-py"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/ianare/exif-py/archive/$pkgver.tar.gz"
builddir="$srcdir"/exif-py-$pkgver

replaces="py-exifread" # Backwards compatibility
provides="py-exifread=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
3b819718f5fc9f7807dc245908c2724d1023ce6345b6f6a84ea0c10d62b47939ae4dce23db868d67b6eeaa07e5c88fd406520106f31883d15442eaabcebb0746  py3-exifread-3.0.0.tar.gz
"
